<template>
  <div class="pos">
    <el-icon @click="handleClick"><Right /></el-icon>
  </div>
</template>
<script setup>
import { Right} from '@element-plus/icons-vue'
import { useRouter } from 'vue-router'

const router = useRouter()
const handleClick = () => {
  router.go(-1)
}
</script>
<style lang="less" scoped>
.pos {
  position: absolute;
  top: 10px;
  right: 10px;
}
.el-icon {
  font-size: 20px;
  cursor: pointer;
}
</style>
